// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef _FX_FREETYPE_DONT_RENAME_
// To avoid any possible linking confliction, we rename all FreeType exported names

#define FT_Init_FreeType FPDFAPI_FT_Init_FreeType
#define FT_Done_FreeType FPDFAPI_FT_Done_FreeType
#define FT_New_Face		FPDFAPI_FT_New_Face
#define FT_Select_Charmap FPDFAPI_FT_Select_Charmap 
#define FT_Done_Face FPDFAPI_FT_Done_Face 
#define FT_Get_Charmap_Index FPDFAPI_FT_Get_Charmap_Index 
#define FT_New_Memory_Face FPDFAPI_FT_New_Memory_Face 
#define FT_MulDiv FPDFAPI_FT_MulDiv 
#define FT_Vector_Transform FPDFAPI_FT_Vector_Transform 
#define FT_Cos FPDFAPI_FT_Cos 
#define FT_Sin FPDFAPI_FT_Sin 
#define FT_Load_Glyph FPDFAPI_FT_Load_Glyph 
#define FT_DivFix FPDFAPI_FT_DivFix 
#define FT_Realloc FPDFAPI_FT_Realloc 
#define FT_Alloc FPDFAPI_FT_Alloc 
#define FT_Get_Char_Index FPDFAPI_FT_Get_Char_Index 
#define FT_GlyphLoader_CheckPoints FPDFAPI_FT_GlyphLoader_CheckPoints 
#define FT_GlyphLoader_Add FPDFAPI_FT_GlyphLoader_Add 
#define FT_GlyphLoader_CheckSubGlyphs FPDFAPI_FT_GlyphLoader_CheckSubGlyphs 
#define FT_Outline_Translate FPDFAPI_FT_Outline_Translate 
#define FT_Outline_Transform FPDFAPI_FT_Outline_Transform 
#define FT_Outline_Get_CBox FPDFAPI_FT_Outline_Get_CBox 
#define FT_GlyphLoader_Rewind FPDFAPI_FT_GlyphLoader_Rewind 
#define FT_GlyphLoader_CopyPoints FPDFAPI_FT_GlyphLoader_CopyPoints 
#define FT_GlyphLoader_New FPDFAPI_FT_GlyphLoader_New 
#define FT_GlyphLoader_CreateExtra FPDFAPI_FT_GlyphLoader_CreateExtra 
#define FT_Free FPDFAPI_FT_Free 
#define FT_Set_Charmap FPDFAPI_FT_Set_Charmap 
#define FT_GlyphLoader_Done FPDFAPI_FT_GlyphLoader_Done 
#define _debug_mem_dummy FPDFAPI__debug_mem_dummy 
#define _debug_mem_dummy FPDFAPI__debug_mem_dummy 
#define FT_QAlloc FPDFAPI_FT_QAlloc 
#define FT_QRealloc FPDFAPI_FT_QRealloc 
#define FT_List_Find FPDFAPI_FT_List_Find 
#define FT_List_Add FPDFAPI_FT_List_Add 
#define FT_List_Insert FPDFAPI_FT_List_Insert 
#define FT_List_Remove FPDFAPI_FT_List_Remove 
#define FT_List_Up FPDFAPI_FT_List_Up 
#define FT_List_Iterate FPDFAPI_FT_List_Iterate 
#define FT_List_Finalize FPDFAPI_FT_List_Finalize 
#define ft_highpow2 FPDFAPI_ft_highpow2 
#define FT_Stream_OpenMemory FPDFAPI_FT_Stream_OpenMemory 
#define FT_Stream_Close FPDFAPI_FT_Stream_Close 
#define FT_Stream_Seek FPDFAPI_FT_Stream_Seek 
#define FT_Stream_Skip FPDFAPI_FT_Stream_Skip 
#define FT_Stream_Pos FPDFAPI_FT_Stream_Pos 
#define FT_Stream_ReadAt FPDFAPI_FT_Stream_ReadAt 
#define FT_Stream_Read FPDFAPI_FT_Stream_Read 
#define FT_Stream_TryRead FPDFAPI_FT_Stream_TryRead 
#define FT_Stream_EnterFrame FPDFAPI_FT_Stream_EnterFrame 
#define FT_Stream_ExtractFrame FPDFAPI_FT_Stream_ExtractFrame 
#define FT_Stream_ReleaseFrame FPDFAPI_FT_Stream_ReleaseFrame 
#define FT_Stream_ExitFrame FPDFAPI_FT_Stream_ExitFrame 
#define FT_Stream_GetChar FPDFAPI_FT_Stream_GetChar 
#define FT_Stream_GetShort FPDFAPI_FT_Stream_GetShort 
#define FT_Stream_GetShortLE FPDFAPI_FT_Stream_GetShortLE 
#define FT_Stream_GetOffset FPDFAPI_FT_Stream_GetOffset 
#define FT_Stream_GetLong FPDFAPI_FT_Stream_GetLong 
#define FT_Stream_GetLongLE FPDFAPI_FT_Stream_GetLongLE 
#define FT_Stream_ReadChar FPDFAPI_FT_Stream_ReadChar 
#define FT_Stream_ReadShort FPDFAPI_FT_Stream_ReadShort 
#define FT_Stream_ReadShortLE FPDFAPI_FT_Stream_ReadShortLE 
#define FT_Stream_ReadOffset FPDFAPI_FT_Stream_ReadOffset 
#define FT_Stream_ReadLong FPDFAPI_FT_Stream_ReadLong 
#define FT_Stream_ReadLongLE FPDFAPI_FT_Stream_ReadLongLE 
#define FT_Stream_ReadFields FPDFAPI_FT_Stream_ReadFields 
#define FT_RoundFix FPDFAPI_FT_RoundFix 
#define FT_CeilFix FPDFAPI_FT_CeilFix 
#define FT_FloorFix FPDFAPI_FT_FloorFix 
#define FT_Sqrt32 FPDFAPI_FT_Sqrt32 
#define FT_SqrtFixed FPDFAPI_FT_SqrtFixed 
#define FT_Tan FPDFAPI_FT_Tan 
#define FT_Atan2 FPDFAPI_FT_Atan2 
#define FT_Vector_Unit FPDFAPI_FT_Vector_Unit 
#define FT_Vector_Rotate FPDFAPI_FT_Vector_Rotate 
#define FT_Vector_Length FPDFAPI_FT_Vector_Length 
#define FT_Vector_Polarize FPDFAPI_FT_Vector_Polarize 
#define FT_Vector_From_Polar FPDFAPI_FT_Vector_From_Polar 
#define FT_Angle_Diff FPDFAPI_FT_Angle_Diff 
#define FT_Outline_Decompose FPDFAPI_FT_Outline_Decompose 
#define FT_Outline_Done_Internal FPDFAPI_FT_Outline_Done_Internal 
#define FT_Outline_New_Internal FPDFAPI_FT_Outline_New_Internal 
#define FT_Outline_New FPDFAPI_FT_Outline_New 
#define FT_Outline_Check FPDFAPI_FT_Outline_Check 
#define FT_Outline_Copy FPDFAPI_FT_Outline_Copy 
#define FT_Outline_Done FPDFAPI_FT_Outline_Done 
#define FT_Outline_Reverse FPDFAPI_FT_Outline_Reverse 
#define FT_Set_Renderer FPDFAPI_FT_Set_Renderer 
#define FT_Lookup_Renderer FPDFAPI_FT_Lookup_Renderer 
#define FT_Outline_Render FPDFAPI_FT_Outline_Render 
#define FT_Outline_Get_Bitmap FPDFAPI_FT_Outline_Get_Bitmap 
#define FT_Outline_Get_Orientation FPDFAPI_FT_Outline_Get_Orientation 
#define FT_Outline_Embolden FPDFAPI_FT_Outline_Embolden 
#define FT_GlyphLoader_Reset FPDFAPI_FT_GlyphLoader_Reset 
#define FT_GlyphLoader_Prepare FPDFAPI_FT_GlyphLoader_Prepare 
#define ft_service_list_lookup FPDFAPI_ft_service_list_lookup 
#define ft_validator_init FPDFAPI_ft_validator_init 
#define ft_validator_run FPDFAPI_ft_validator_run 
#define ft_validator_error FPDFAPI_ft_validator_error 
#define FT_Stream_New FPDFAPI_FT_Stream_New 
#define FT_Stream_Free FPDFAPI_FT_Stream_Free 
#define ft_glyphslot_free_bitmap FPDFAPI_ft_glyphslot_free_bitmap 
#define ft_glyphslot_set_bitmap FPDFAPI_ft_glyphslot_set_bitmap 
#define FT_GlyphSlot_Own_Bitmap FPDFAPI_FT_GlyphSlot_Own_Bitmap
#define ft_glyphslot_alloc_bitmap FPDFAPI_ft_glyphslot_alloc_bitmap 
#define FT_New_GlyphSlot FPDFAPI_FT_New_GlyphSlot 
#define FT_Done_GlyphSlot FPDFAPI_FT_Done_GlyphSlot 
#define FT_Set_Transform FPDFAPI_FT_Set_Transform 
#define FT_Render_Glyph_Internal FPDFAPI_FT_Render_Glyph_Internal 
#define FT_Render_Glyph FPDFAPI_FT_Render_Glyph 
#define FT_Load_Char FPDFAPI_FT_Load_Char 
#define FT_New_Size FPDFAPI_FT_New_Size 
#define FT_Open_Face FPDFAPI_FT_Open_Face 
#define FT_Attach_Stream FPDFAPI_FT_Attach_Stream 
#define FT_Attach_File FPDFAPI_FT_Attach_File 
#define FT_Done_Size FPDFAPI_FT_Done_Size 
#define FT_Set_Char_Size FPDFAPI_FT_Set_Char_Size 
#define FT_Set_Pixel_Sizes FPDFAPI_FT_Set_Pixel_Sizes 
#define FT_Get_Kerning FPDFAPI_FT_Get_Kerning 
#define FT_CMap_Done FPDFAPI_FT_CMap_Done 
#define FT_CMap_New FPDFAPI_FT_CMap_New 
#define FT_Get_Next_Char FPDFAPI_FT_Get_Next_Char 
#define FT_Get_First_Char FPDFAPI_FT_Get_First_Char 
#define FT_Get_Name_Index FPDFAPI_FT_Get_Name_Index 
#define FT_Get_Glyph_Name FPDFAPI_FT_Get_Glyph_Name 
#define FT_Get_Postscript_Name FPDFAPI_FT_Get_Postscript_Name 
#define FT_Get_Sfnt_Table FPDFAPI_FT_Get_Sfnt_Table 
#define FT_Load_Sfnt_Table FPDFAPI_FT_Load_Sfnt_Table 
#define FT_Sfnt_Table_Info FPDFAPI_FT_Sfnt_Table_Info 
#define FT_Get_CMap_Language_ID FPDFAPI_FT_Get_CMap_Language_ID 
#define FT_Activate_Size FPDFAPI_FT_Activate_Size 
#define FT_Get_Renderer FPDFAPI_FT_Get_Renderer 
#define FT_Remove_Module FPDFAPI_FT_Remove_Module 
#define FT_Add_Module FPDFAPI_FT_Add_Module 
#define FT_Get_Module FPDFAPI_FT_Get_Module 
#define FT_Get_Module_Interface FPDFAPI_FT_Get_Module_Interface 
#define ft_module_get_service FPDFAPI_ft_module_get_service 
#define FT_New_Library FPDFAPI_FT_New_Library 
#define FT_Library_Version FPDFAPI_FT_Library_Version 
#define FT_Done_Library FPDFAPI_FT_Done_Library 
#define FT_Set_Debug_Hook FPDFAPI_FT_Set_Debug_Hook 
#define FT_Raccess_Get_HeaderInfo FPDFAPI_FT_Raccess_Get_HeaderInfo 
#define FT_Raccess_Get_DataOffsets FPDFAPI_FT_Raccess_Get_DataOffsets 
#define FT_Raccess_Guess FPDFAPI_FT_Raccess_Guess
#define af_dummy_script_class FPDFAPI_af_dummy_script_class
#define af_latin_script_class FPDFAPI_af_latin_script_class
#define af_cjk_script_class FPDFAPI_af_cjk_script_class
#define af_autofitter_service FPDFAPI_af_autofitter_service
#define autofit_module_class FPDFAPI_autofit_module_class
#define cff_cmap_encoding_class_rec FPDFAPI_cff_cmap_encoding_class_rec
#define cff_cmap_unicode_class_rec FPDFAPI_cff_cmap_unicode_class_rec
#define cff_driver_class FPDFAPI_cff_driver_class
#define FT_Stream_Open FPDFAPI_FT_Stream_Open
#define FT_New_Memory FPDFAPI_FT_New_Memory
#define FT_Done_Memory FPDFAPI_FT_Done_Memory
#define ft_mem_qalloc FPDFAPI_ft_mem_qalloc
#define ft_mem_alloc FPDFAPI_ft_mem_alloc
#define ft_mem_free FPDFAPI_ft_mem_free
#define ft_mem_qrealloc FPDFAPI_ft_mem_qrealloc
#define ft_mem_realloc FPDFAPI_ft_mem_realloc
#define FT_Get_TrueType_Engine_Type FPDFAPI_FT_Get_TrueType_Engine_Type
#define ft_stub_set_char_sizes FPDFAPI_ft_stub_set_char_sizes
#define ft_stub_set_pixel_sizes FPDFAPI_ft_stub_set_pixel_sizes
#define FT_Get_SubGlyph_Info FPDFAPI_FT_Get_SubGlyph_Info
#define FT_Get_Sfnt_Name_Count FPDFAPI_FT_Get_Sfnt_Name_Count
#define FT_Get_Sfnt_Name FPDFAPI_FT_Get_Sfnt_Name
#define FT_Bitmap_New FPDFAPI_FT_Bitmap_New
#define FT_Bitmap_Copy FPDFAPI_FT_Bitmap_Copy
#define FT_Bitmap_Done FPDFAPI_FT_Bitmap_Done
#define FT_Bitmap_Convert FPDFAPI_FT_Bitmap_Convert
#define FT_Bitmap_Embolden FPDFAPI_FT_Bitmap_Embolden
#define ft_bitmap_glyph_class FPDFAPI_ft_bitmap_glyph_class
#define ft_outline_glyph_class FPDFAPI_ft_outline_glyph_class
#define FT_Matrix_Multiply FPDFAPI_FT_Matrix_Multiply
#define FT_Matrix_Invert FPDFAPI_FT_Matrix_Invert
#define FT_Done_Glyph FPDFAPI_FT_Done_Glyph
#define FT_Glyph_Copy FPDFAPI_FT_Glyph_Copy
#define FT_Get_Glyph FPDFAPI_FT_Get_Glyph
#define FT_Glyph_Transform FPDFAPI_FT_Glyph_Transform
#define FT_Glyph_Get_CBox FPDFAPI_FT_Glyph_Get_CBox
#define FT_Glyph_To_Bitmap FPDFAPI_FT_Glyph_To_Bitmap
#define FT_Add_Default_Modules FPDFAPI_FT_Add_Default_Modules
#define FT_Get_Multi_Master FPDFAPI_FT_Get_Multi_Master
#define FT_Get_MM_Var FPDFAPI_FT_Get_MM_Var
#define FT_Set_MM_Design_Coordinates FPDFAPI_FT_Set_MM_Design_Coordinates
#define FT_Set_Var_Design_Coordinates FPDFAPI_FT_Set_Var_Design_Coordinates
#define FT_Set_MM_Blend_Coordinates FPDFAPI_FT_Set_MM_Blend_Coordinates
#define FT_Set_Var_Blend_Coordinates FPDFAPI_FT_Set_Var_Blend_Coordinates
#define ps_table_funcs FPDFAPI_ps_table_funcs
#define ps_parser_funcs FPDFAPI_ps_parser_funcs
#define t1_builder_funcs FPDFAPI_t1_builder_funcs
#define t1_decoder_funcs FPDFAPI_t1_decoder_funcs
#define afm_parser_funcs FPDFAPI_afm_parser_funcs
#define t1_cmap_classes FPDFAPI_t1_cmap_classes
#define t1_cmap_standard_class_rec FPDFAPI_t1_cmap_standard_class_rec
#define t1_cmap_expert_class_rec FPDFAPI_t1_cmap_expert_class_rec
#define t1_cmap_custom_class_rec FPDFAPI_t1_cmap_custom_class_rec
#define t1_cmap_unicode_class_rec FPDFAPI_t1_cmap_unicode_class_rec
#define psaux_module_class FPDFAPI_psaux_module_class
#define pshinter_module_class FPDFAPI_pshinter_module_class
#define ps_hints_apply FPDFAPI_ps_hints_apply
#define psnames_module_class FPDFAPI_psnames_module_class
#define ft_raster1_renderer_class FPDFAPI_ft_raster1_renderer_class
#define ft_standard_raster FPDFAPI_ft_standard_raster
#define ft_raster5_renderer_class FPDFAPI_ft_raster5_renderer_class
#define tt_cmap0_class_rec FPDFAPI_tt_cmap0_class_rec
#define tt_cmap2_class_rec FPDFAPI_tt_cmap2_class_rec
#define tt_cmap4_class_rec FPDFAPI_tt_cmap4_class_rec
#define tt_cmap6_class_rec FPDFAPI_tt_cmap6_class_rec
#define tt_cmap8_class_rec FPDFAPI_tt_cmap8_class_rec
#define tt_cmap10_class_rec FPDFAPI_tt_cmap10_class_rec
#define tt_cmap12_class_rec FPDFAPI_tt_cmap12_class_rec
#define tt_cmap13_class_rec FPDFAPI_tt_cmap13_class_rec
#define tt_cmap14_class_rec FPDFAPI_tt_cmap14_class_rec
#define sfnt_module_class FPDFAPI_sfnt_module_class
#define ft_grays_raster FPDFAPI_ft_grays_raster
#define ft_smooth_renderer_class FPDFAPI_ft_smooth_renderer_class
#define ft_smooth_lcd_renderer_class FPDFAPI_ft_smooth_lcd_renderer_class
#define ft_smooth_lcdv_renderer_class FPDFAPI_ft_smooth_lcdv_renderer_class
#define tt_default_graphics_state FPDFAPI_tt_default_graphics_state
#define tt_driver_class FPDFAPI_tt_driver_class
#define TT_RunIns FPDFAPI_TT_RunIns
#define TT_New_Context FPDFAPI_TT_New_Context
#define t1_driver_class FPDFAPI_t1_driver_class
#define t1cid_driver_class FPDFAPI_t1cid_driver_class
#define FT_Get_Track_Kerning FPDFAPI_FT_Get_Track_Kerning
#define FT_Match_Size FPDFAPI_FT_Match_Size
#define FT_MulDiv_No_Round FPDFAPI_FT_MulDiv_No_Round
#define FT_Request_Metrics FPDFAPI_FT_Request_Metrics
#define FT_Request_Size FPDFAPI_FT_Request_Size
#define FT_Select_Metrics FPDFAPI_FT_Select_Metrics
#define FT_Select_Size FPDFAPI_FT_Select_Size
#define ft_synthesize_vertical_metrics FPDFAPI_ft_synthesize_vertical_metrics
#define New_Profile FPDFAPI_New_Profile
#define End_Profile FPDFAPI_End_Profile
#define Insert_Y_Turn FPDFAPI_Insert_Y_Turn 
#define Split_Conic FPDFAPI_Split_Conic  
#define Split_Cubic FPDFAPI_Split_Cubic
#define Line_Up FPDFAPI_Line_Up 
#define Bezier_Up FPDFAPI_Bezier_Up 
#define Bezier_Down FPDFAPI_Bezier_Down 
#define Line_To FPDFAPI_Line_To
#define Conic_To FPDFAPI_Conic_To 
#define Cubic_To FPDFAPI_Cubic_To
#define Decompose_Curve FPDFAPI_Decompose_Curve
#define Convert_Glyph FPDFAPI_Convert_Glyph 
#define Sort FPDFAPI_Sort 
#define Vertical_Sweep_Init FPDFAPI_Vertical_Sweep_Init 
#define Vertical_Sweep_Span FPDFAPI_Vertical_Sweep_Span 
#define Vertical_Sweep_Drop FPDFAPI_Vertical_Sweep_Drop 
#define Vertical_Sweep_Step FPDFAPI_Vertical_Sweep_Step 
#define Horizontal_Sweep_Init FPDFAPI_Horizontal_Sweep_Init 
#define Horizontal_Sweep_Span FPDFAPI_Horizontal_Sweep_Span 
#define Horizontal_Sweep_Drop FPDFAPI_Horizontal_Sweep_Drop 
#define Horizontal_Sweep_Step FPDFAPI_Horizontal_Sweep_Step 
#define Draw_Sweep FPDFAPI_Draw_Sweep 
#define Render_Single_Pass FPDFAPI_Render_Single_Pass 
#define Render_Glyph FPDFAPI_Render_Glyph  
#define Finalize_Profile_Table FPDFAPI_Finalize_Profile_Table 
#define InsNew FPDFAPI_InsNew 
#define DelOld FPDFAPI_DelOld
#define FT_MulFix FPDFAPI_FT_MulFix
#define FT_Matrix_Multiply_Scaled FPDFAPI_FT_Matrix_Multiply_Scaled
#define FT_Vector_Transform_Scaled FPDFAPI_FT_Vector_Transform_Scaled
#define ft_corner_orientation FPDFAPI_ft_corner_orientation
#define ft_corner_is_flat FPDFAPI_ft_corner_is_flat
#define FT_Get_CMap_Format FPDFAPI_FT_Get_CMap_Format
#define ft_mem_strcpyn FPDFAPI_ft_mem_strcpyn
#define ft_mem_dup FPDFAPI_ft_mem_dup
#define ft_mem_strdup FPDFAPI_ft_mem_strdup
#define FT_Face_GetCharVariantIsDefault FPDFAPI_FT_Face_GetCharVariantIsDefault
#define FT_Face_GetCharsOfVariant FPDFAPI_FT_Face_GetCharsOfVariant
#define FT_Face_GetVariantsOfChar FPDFAPI_FT_Face_GetVariantsOfChar
#define FT_Face_GetVariantSelectors FPDFAPI_FT_Face_GetVariantSelectors
#define FT_Face_GetCharVariantIndex FPDFAPI_FT_Face_GetCharVariantIndex
#define FT_Get_Advances FPDFAPI_FT_Get_Advances
#define FT_Get_Advance FPDFAPI_FT_Get_Advance
#define FT_Library_SetLcdFilter FPDFAPI_FT_Library_SetLcdFilter
 
#endif // !_FX_FREETYPE_DONT_RENAME_
